const state = {
  areaCode: '',
  selectValue:'',
  selectData:[]
}
const mutations = {
  SET_AREA_CODE(state, areaCode) {
    state.areaCode = areaCode
  },
  SET_SELECT_VALUE(state, selectValue) {
    state.selectValue = selectValue
  },
  SET_SELECT_DATA(state, selectData) {
    state.selectData = selectData
  }
}
const actions = {
  setAreaCode({ commit }, areaCode) {
    commit('SET_AREA_CODE', areaCode)
  },
  setSelectValue({ commit }, selectValue) {
    commit('SET_SELECT_VALUE', selectValue)
  },
  setSelectData({ commit }, selectData) {
    commit('SET_SELECT_DATA', selectData)
  }
}
export default {
  namespaced: true,
  state,
  mutations,
  actions
}